﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Checkout.aspx.cs" Inherits="Checkout" Title="Beta Books | Checkout" %>
<%@ MasterType virtualPath="~/MasterPage.master"%>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  <span class="heading">Order Confirmation</span>
  <table class="contentTable">
    <tr>
        <td style="height:22px;width:20px;background-image:url('images/ictl.png');background-position: top;background-repeat:no-repeat"></td>
        <td style="background-image:url('images/bg.png');"></td>
        <td style="height:22px;width:20px;background-image:url('images/ictr.png');background-position: top;background-repeat:no-repeat"></td>
    </tr>
    <tr class="contentbg">
        <td></td>
        <td>
            <table>
              <tr>
                <td>Name:</td>
                <td><asp:Label ID="lblName" runat="server"></asp:Label></td>
              </tr>
              <tr>
                <td>Street Address: </td>
                <td><asp:Label ID="lblStreet1" runat="server"></asp:Label></td>
              </tr>
              <tr>
                <td></td>
                <td><asp:Label ID="lblStreet2" runat="server"></asp:Label></td>
              </tr>
              <tr>
                <td>City: </td>
                <td><asp:Label ID="lblCity" runat="server"></asp:Label></td>
              </tr>
              <tr>
                <td>State: </td>
                <td><asp:Label ID="lblState" runat="server"></asp:Label></td>
              </tr>
              <tr>
                <td>Zip: </td>
                <td><asp:Label ID="lblZip" runat="server"></asp:Label></td>
              </tr>
            </table> 
            <br />
            <asp:GridView ID="cartGridView" runat="server" 
                AutoGenerateColumns="False" 
                EmptyDataText="Your shopping cart is empty. Please select some items before placing your order." CssClass="table">
                <Columns>
                    <asp:BoundField DataField="Title" HeaderText="Title" />
                    <asp:BoundField DataField="Price" HeaderText="Price" DataFormatString="{0:c}" />
                    <asp:BoundField DataField="Quantity" HeaderText="Quantity" />
                </Columns>
                <HeaderStyle BackColor="#9F89B6" />
                <AlternatingRowStyle BackColor="Silver" />
            </asp:GridView>
            <br />
            <asp:Label ID="lblLabelTotal" runat="server" Text="Label">Total Price:</asp:Label>
            <asp:Label ID="lblTotal" runat="server"></asp:Label>
            <br />
            <br />
            <asp:Button ID="cmdContShopping" runat="server" Text="Continue Shopping" 
                onclick="cmdContShopping_Click" CssClass="button"/>
            <asp:Button ID="cmdEditShip" runat="server" onclick="cmdEditShip_Click" 
                Text="Edit Address" CssClass="button"/>
            <asp:Button ID="cmdEditCart" runat="server" onclick="cmdEditCart_Click" 
                Text="Edit Cart" CssClass="button"/>
            <asp:Button ID="cmdPlaceOrder" runat="server" onclick="cmdPlaceOrder_Click" 
                Text="Place Order" CssClass="button"/>
            <asp:Label ID="lblStatus" runat="server"></asp:Label>
        </td>   
        <td></td>
    </tr>
    <tr>
        <td style="height:22px;width:20px;background-image:url('images/icbl.png');background-position: top;background-repeat:no-repeat"></td>
        <td style="background-image:url('images/bg.png');"></td>
        <td style="height:22px;width:20px;background-image:url('images/icbr.png');background-position: top;background-repeat:no-repeat"></td>
    </tr>
  </table>  
  
  
    
    
  
  
</asp:Content>

